import fs from 'node:fs';

export const moveFile = (inpitFile, outputFile) => {
    if (fs.existsSync(inpitFile))
        throw new Error('move file is fail... invalid input file path...');

    fs.writeFileSync(outputFile, fs.readFileSync(inpitFile));
};
